package org.jeecg.modules.activity.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.activity.mapper.ActivityCommonMapper;
import org.jeecg.modules.activity.service.ActivityCommonService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
@Slf4j
public class ActivityCommonServiceImpl implements ActivityCommonService {

    @Resource
    private ActivityCommonMapper activityCommonMapper;

    @Override
    public List<Map<String, Object>> getNodeList(String procInstId) {
        return activityCommonMapper.getNodeList(procInstId);
    }

    @Override
    public List<Map<String, Object>> getNodeListDesc(String procInstId) {
        return activityCommonMapper.getNodeListDesc(procInstId);
    }
}
